package com.seecen.controller;

import com.seecen.entity.User;
import org.springframework.web.bind.annotation.*;

@RestController
public class WorkHomeController {

    @RequestMapping("/add1")
    public User add1(User user) {
        return user;
    }
    @RequestMapping("/add2")
    public User add2(@RequestBody User user) {
        return user;
    }
}
